function home_page() {
    window.history.back(-1);
}

const month = [
    "Jan", "Feb", "Mar", "Apr",
    "May", "June", "July", "Aug",
    "Sep", "Oct", "Nov", "Dec"];

let d = new Date();

function date() {
    //var d = new Date() ;
    document.getElementById("t").innerHTML = d.getDate() + " / " + month[d.getMonth()] + " / " + d.getFullYear();
}

function send() {
    var txt = document.getElementById("con_text").value;
    var board = document.getElementById("board");
    let d = new Date();
    // document.getElementById("c_1").innerHTML = txt ;
    if (txt.length != 0) {
        var ul = document.createElement('ul');
        board.appendChild(ul);
        var li = document.createElement('li');
        ul.appendChild(li);
        li.innerHTML += txt;
        var p = document.createElement('p');

        p.innerHTML += d.getHours() + ":" + d.getMinutes() + "   " + month[d.getMonth()] + "." + d.getDate();
        board.appendChild(p);
    }
    document.getElementById("con_text").value = "";
}